package com.huadao.cart_ccs.experiment.internalControl;

import android.content.Context;
import android.support.v7.widget.RecyclerView;

import com.huadao.cart_ccs.R;
import com.huadao.cart_ccs.base.BaseListDF;
import com.huadao.cart_ccs.base.BasePresenter;
import com.huadao.cart_ccs.common.adapter.CommonRecycleAdapter;
import com.huadao.cart_ccs.common.adapter.CommonViewHolder;
import com.huadao.cart_ccs.common.adapter.FooterHolder;
import com.huadao.cart_ccs.common.adapter.HeaderHolder;
import com.huadao.cart_ccs.data.bo.InternalControl;

import java.util.List;

/**
 * 内控数据列表
 */
public class InternalControlListDF extends BaseListDF {

    @Override
    public int getRecycleViewId() {
        return R.id.rv_control_list;
    }

    @Override
    public int getSwipeRefreshLayoutId() {
        return 0;
    }

    @Override
    protected void init() {

    }

    @Override
    protected RecyclerView.ItemDecoration setItemDecoration() {
        return null;
    }

    @Override
    protected CommonRecycleAdapter setAdapter() {
        return null;
    }

    @Override
    public RecyclerView.LayoutManager setLayoutManage() {
        return null;
    }

    @Override
    protected void loadData() {

    }

    @Override
    protected void onRefreshData() {
        loadData();
    }

    @Override
    protected BasePresenter getPresenter() {
        return null;
    }

    @Override
    protected int getLayoutId() {
        return R.layout.dialogfrag_internal_control_list;
    }

    class InternalControlAdapter extends CommonRecycleAdapter<InternalControl>{

        public InternalControlAdapter(Context context, List<InternalControl> dataList, int layoutId) {
            super(context, dataList, layoutId);
        }

        @Override
        protected void bindData(CommonViewHolder holder, InternalControl data) {

        }

        @Override
        protected void bindFooterData(FooterHolder holder) {

        }

        @Override
        protected void bindHeaderData(HeaderHolder holder) {

        }
    }
}
